/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author JArik
 */
public class Doctor {
    private String name;
    private int id;
    private String surname,loginName, pass;

    public String getLoginName() {
        return loginName;
    }

    public String getPass() {
        return pass;
    }
    private int status;
    public Doctor(int nId, String nName, String nSurname)
    {
        name = nName;
        id = nId;
        surname = nSurname;
    }
    public String getFullName()
    {
        return surname + " " + name;
    }
    public String getName()
    {
        return name;
    }
    public int getId()
    {
        return id;
    }
    public void setId(int i)
    {
        id = i;
    }

    public int getStatus() {
        return status;
    }

    public void setLoginName(String string) {
        loginName = string;
    }

    public void setPass(String string) {
        pass = string;
    }
    public void setStatus(int i)
    {
        status = i;
    }
    public String getSurname()
    {
        return surname;
    }
    public String toString()
    {
        return surname;
    }

}
